#!/usr/bin/env bash
VERSION=$(git submodule |grep -w $1 | awk '{ gsub(/[\(\)]/,"",$3); print $3}')
echo "$1=$VERSION"
REG="s/($1)(=\S+)/\1=$VERSION/"
#echo $REG
sed -i -E "s/($1)(=\S+)/\1=$VERSION/" module.properties
